package com.example.springdata.service.book;

import com.example.springdata.dao.entity.Book;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface BookService {
    Page<Book> findByName(String name);

    public void save(Book product);

    public void generateData(int total);
}
